package cn.oms.dict.api.dto.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 数据序列号枚举
 */
@Getter
@AllArgsConstructor
public class DataCodeSerialNumberEnum {

    public enum DataCodeEnum {

        //门诊
        OPCODE("OPCODE","OP","门诊ID"),
        //住院
        IPCODE("IPCODE","IP","住院ID"),
        //专科
        SPCODE("SPCODE","SP","专科ID");

        //数据ID
        private String dataId;
        // 数据前缀
        private String perfix;
        // 数据名称
        private String description;

        DataCodeEnum(String dataId, String perfix, String description) {
            this.dataId = dataId;
            this.perfix = perfix;
            this.description = description;
        }

        public String getDataId() {
            return this.dataId;
        }

        public String getPerfix() {
            return this.perfix;
        }

        public String getDescription() {
            return this.description;
        }
    }

}
